<?php

namespace api\web\controller;

use api\web\model\BannerModel;
use cmf\controller\RestBaseController;

class BannerController extends RestBaseController
{
    public function index()
    {
       $list = BannerModel::select();

       $this->success('轮播图表', $list);
    }
}